﻿#ifndef __GAME_RESULT_DLG_H__
#define __GAME_RESULT_DLG_H__

#include "cocos2d.h"
#include "ui/CocosGUI.h"

class GameResultDlg : public cocos2d::Layer {
public:
	bool init() override;
	CREATE_FUNC(GameResultDlg);

	//改变界面显示
	void setResultDlg(bool isBreakRecord);

private:
	cocos2d::ui::ImageView* bg;
	cocos2d::ui::ImageView* unBreakLabel;
	cocos2d::ui::ImageView* breakLabel;
	cocos2d::ui::ImageView* scoreLabel;
	cocos2d::LabelAtlas* scoreNum;
	cocos2d::ui::TextField* input;
	cocos2d::ui::Button* highScore;
	cocos2d::ui::Button* restart;
	cocos2d::ui::Button* saveName;

};

#endif 